﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TrainTicketBookingSystem
{
    internal class Order
    {
        public int OrderId { get; set; }
        public int UserId { get; set; }
        public int SeatId { get; set; }
        public int TrainSequenceId { get; set; }
        public DateTime OrderTime { get; set; }

        public Order()
        {
        }

        public Order(int orderId, int userId, int seatId, int trainSequenceId, DateTime orderTime)
        {
            OrderId = orderId;
            UserId = userId;
            SeatId = seatId;
            TrainSequenceId = trainSequenceId;
            OrderTime = orderTime;
        }
    }
}
